package org.zhoulingbo.raft;

public interface Constants {

    /**
     * 跟随者,初始状态
     */
    int follower = 0;

    /**
     * 候选者
     */
    int candidate = 1;

    /**
     * 领导者
     */
    int leader = 2;
}
